/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package chatserver;

/**
 *
 * @author isen
 */
public class Message {
    
  String date;
  int conversationID;
  String username;
  String text;

    public Message(String date, int conversationID, String username, String text) {
        this.date = date;
        this.conversationID = conversationID;
        this.username = username;
        this.text = text;
    }

    public int getConversationID() {
        return conversationID;
    }

    public void setConversationID(int conversationID) {
        this.conversationID = conversationID;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
         
    
    
}
